@echo off

REM This script is normally run from the pre-build step to generate a textfile containing the
REM svn build number
REM Note that this will be run in the bin\debug folder, hence the ..\..\ everywhere.

svn info ..\..\ | ..\..\build_utils\grep "Revision" | ..\..\build_utils\gawk "{print $2}" > ..\..\EnvoxDecompiler.build_number.txt
echo Using build number:
type ..\..\EnvoxDecompiler.build_number.txt